<%= show_info %>

<%= render :partial => '/user/current_catalog' %>

<p>
<%= generate(@path) %>
</p>

<%= link_to 'List Catalogs', :controller => "user/catalog", :action => 'list'%><br/>

<hr />
  
<% if( @pictures.size > 0 ) %>
<div class="thumbnail_container">

<div class="spacer"> &nbsp </div>
<% for picture in @pictures %>
  <div class="thumbnail">
     <a href = "show/<%= picture.id %>" >
        <img src="get_picture/<%= picture.id %>?view=2" width="100" height="100" alt="Loading..." /><br />
     </a>
    <p><%= h(picture.name) %></p>
  </div>
<% end %>
<div class="spacer"> &nbsp </div>

</div>
<% end %>

<%= will_paginate @pictures %>

<hr />
<% if @user && @user == @current_catalog.owner -%>
<%= link_to 'Upload New Picture', :action => 'new' %>
<% end -%>
